package com.example.component;

/**
 * Created by fongjx on 2021/6/25.
 */
public abstract class Root {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Root(String name) {
        this.name = name;
    }

    abstract void addFile(Root root);

    abstract void removeFile(Root root);

    abstract void display(int depth);
}
